﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace TermitesMagnets
{
    class Pwu0:Pwu
    {

        public Pwu0(Game game, Level parent, Vector2 position, int l)
            : base(game, parent, position, l)
        {     
        }

        public override void DoSomething(Magnet mag)
        {
            //P0 add to me 15
            foreach (TargetRect t in parent.Targets)
            {
                if (t.ColorIndex == mag.ColorIndex)
                    t.addeatten(15);
                   
            }
            
        }
    }
}
